package com.le.buddha.mapper;

import com.le.buddha.mobile.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author guole
 * @since 2024-10-09
 */
public interface UserMapper extends BaseMapper<User> {
    Integer deductUserEnergy(@Param("userId") Long userId,@Param("energy") Integer energy);
}
